ARG REDIS_VERSION_ARG=latest

FROM redis:${REDIS_VERSION_ARG}

WORKDIR /data

ENTRYPOINT ["redis-server", "--port", "6379", "--appendonly" ,"yes","--requirepass"]
# 默认密码
CMD ["Asia8888"]